#ifndef SELECTMETHOD_H
#define SELECTMETHOD_H

#include <QWidget>
#include <QListWidget>
#include <methodmanager.h>
#include <QDebug>
#include <permission.h>
#include <QMessageBox>

namespace Ui {
class SelectMethod;
}

class SelectMethod : public QWidget
{
    Q_OBJECT

public:
    explicit SelectMethod(QWidget *parent = nullptr);
    ~SelectMethod();

    void resetListWidget();
    //管理员相关
    void hiding(bool s);

signals:
    void display(int number);
    void methodName(QString name);

private slots:
    void on_confirm_clicked();

    void on_home_clicked();

    void on_methoddevelop_clicked();

    void on_settings_clicked();

    void on_deleteconfirm_clicked();

private:
    Ui::SelectMethod *ui;

    void initStyleSheet();
};

#endif // SELECTMETHOD_H
